﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ChitietSanphamTrathat.aspx.cs" Inherits="Trathat.ChitietSanphamTrathat" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<div style="width: 100%; height: 100%;">
    <div class="box_skitter box_skitter_large">
	    <ul>
	        <li><a href="#cubeRandom"><img src="../images/002.jpg" class="cubeRandom"/></a><div class="label_text"><p>cubeRandom</p></div></li>
		    <li><a href="#block"><img src="../images/003.jpg" class="block"/></a><div class="label_text"><p>block</p></div></li>
			<li><a href="#cubeStop"><img src="../images/004.jpg" class="cubeStop"/></a><div class="label_text"><p>cubeStop</p></div></li>
			<li><a href="#cubeHide"><img src="../images/005.jpg" class="cubeHide"/></a><div class="label_text"><p>cubeHide</p></div></li>
		</ul>
	</div>
</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style=" padding-left: 10px; padding-bottom: 10px;"><asp:Label ID="lblOrder" runat="server" Text="" Font-Bold="True"></asp:Label></div>
    <asp:DataList ID="listSanpham" runat="server" DataKeyField="ID" RepeatColumns="1" Width="740">
        <ItemTemplate>
        <div style="float:left; width: 740px;">
            <div id="blockSanpham" style="width: 230px; float:left; height: 200px; padding-left: 10px;">
               <img src='<%# Eval("Anhdaidien") %>' height="200" width="200" />
            </div>
            <div style="width: 230px; height: 200px; float:left; padding-left: 10px;">
                 <%# Eval("Tensanpham") %><br />
                 <%# Eval("Mota") %>
            </div>
            <div style="width: 230px; height: 194px; float:left; border: medium solid #3333FF">
                Mã SP   : <%# Eval("Masanpham") %><br /><br />
                Giá     : <%# Eval("Gia") %><br /><br />
                Số lượng: <%# Eval("Soluong") %><br /><br />
            </div>
            </div>
        </ItemTemplate>
    </asp:DataList>
    <br /><br />
    <b style="padding-left:10px;">Hình ảnh</b><br /><br />
    <asp:DataList ID="listHinhanh" runat="server" DataKeyField="ID" RepeatColumns="7" Width="740">
        <ItemTemplate>
            <img src='<%# Eval("Duongdan") %>' height="100" width="100" />
        </ItemTemplate>
    </asp:DataList>
    <b style="padding-left:10px;">Những sản phẩm khác</b><br /><br />
    <telerik:RadListView ID="RadListView1" Width="100%" AllowPaging="True" runat="server"
                AllowSorting="true" ItemPlaceholderID="ProductsHolder"
                DataKeyNames="ID">
                <LayoutTemplate>
                    <fieldset style="width: 730px; padding-left: 8px; border-color:#F4F4EC; border-style:none;" id="FieldSet1">
                        <asp:Panel ID="ProductsHolder" runat="server" BorderWidth="2" BorderStyle="Solid" BorderColor="#F4F4EC" />
                        <table cellpadding="0" cellspacing="0" width="100%;" style="clear: both; padding-top: 20px;">
                            <tr>
                                <td>
                                    <telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="RadListView1"
                                        PageSize="16">
                                        <Fields>
                                            <telerik:RadDataPagerButtonField FieldType="FirstPrev" />
                                            <telerik:RadDataPagerButtonField FieldType="Numeric" />
                                            <telerik:RadDataPagerButtonField FieldType="NextLast" />
                                            <telerik:RadDataPagerPageSizeField PageSizeText="Page size: " />
                                            
                                        </Fields>
                                    </telerik:RadDataPager>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                </LayoutTemplate>
                <ItemTemplate>
                    <div id="blockSanpham" style="width: 175px; height: 220px; float:left; padding-left: 7px; padding-top:10px; padding-bottom: 10px;">
                        <a href="ChitietSanphamTrathat.aspx?Loai=<%# Eval("IDLoaisanpham") %>&&ID=<%# Eval("ID") %>"><img src='<%# Eval("Anhdaidien") %>' height="160" width="160" /></a><br />
                        <a href="ChitietSanphamTrathat.aspx?Loai=<%# Eval("IDLoaisanpham") %>&&ID=<%# Eval("ID") %>" style="text-decoration:none; color: #351c18; font-weight:bold;"><%# Eval("Tensanpham") %></a><br />
                        Mã SP: <b style="color: #FF0000"><%# Eval("Masanpham") %></b>
                    </div>
                </ItemTemplate>
            </telerik:RadListView>
</asp:Content>
